ImageSeoWP\Async\WPBackgroundProcess B

Total Complexity 94
Dependencies 2
Dependents 0
Total lines 801
Lines of code 331
Logical lines of code 186
Comment lines 313
Methods 40
Properties 7

Methods 40

Method Rating Maintainability Complexity Lines of code
handle()
A
45 15 41
get_batches()
S
45 6 43
__construct()
S
57 7 16
maybe_handle()
S
56 5 22
get_memory_limit()
S
62 4 11
is_queue_empty()
S
57 3 16
maybe_unserialize()
S
63 4 10
is_active()
S
78 4 3
handle_cron_healthcheck()
S
66 3 10
schedule_cron_healthcheck()
S
62 2 11
dispatch()
S
70 2 7
cancel_process()
S
69 2 7
clear_scheduled_event()
S
71 2 6
schedule_event()
S
73 2 5
time_exceeded()
S
66 2 8
memory_exceeded()
S
64 2 9
lock_process()
S
68 2 6
is_processing()
S
71 2 6
update()
S
71 2 6
save()
S
67 2 8
delete_all()
S
67 2 8
get_status_key()
S
80 1 3
pause()
S
80 1 3
task()
S
100 1 0
delete()
S
77 1 4
cancel()
S
76 1 4
is_cancelled()
S
74 1 4
cancelled()
S
80 1 3
complete()
S
82 1 3
is_paused()
S
74 1 4
generate_key()
S
71 1 5
paused()
S
80 1 3
push_to_queue()
S
76 1 4
push_all_data()
S
77 1 4
get_batch()
S
67 1 9
unlock_process()
S
76 1 4
resume()
S
72 1 6
resumed()
S
80 1 3
is_queued()
S
80 1 3
is_process_running()
S
81 1 3